//
//  Service.m
//  ServiceDebianManager
//
//  Created by Léo Lego on 09/05/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import "Service.h"

@implementation Service
@synthesize service;

-(id) initWithService:(NSString *)nService{
	if(self = [super init])
	{
		service = nService;
	}
	return self;
}

-(id)init{
	return [self initWithService:@"service unknow"];
}


-(NSString*)description{
	NSMutableString * ms = [[NSMutableString alloc] initWithCapacity:30];
	[ms appendFormat:@"Service : %@",service];
	return ms;
}


@end
